Using laser sensor for floor type detection

ABSTRACT

A robotic cleaning device and a method for operating the robotic cleaning device to detect a structure of a surface over which the robotic cleaning device moves. The method includes illuminating the surface with structured vertical light, capturing an image of the surface, detecting at least one luminous section in the captured image, and determining, from an appearance of the at least one luminous section, the structure of the surface.

TECHNICAL FIELD

The invention relates to a robotic cleaning device and a method at the robotic cleaning device of detecting a structure of a surface over which the robotic cleaning device moves.

BACKGROUND

In many fields of technology, it is desirable to use robots with an autonomous behaviour such that they freely can move around a space without colliding with possible obstacles.

Robotic vacuum cleaners are known in the art, which are equipped with drive means in the form of one or more motors for moving the cleaner across a surface to be cleaned. The robotic vacuum cleaners are further equipped with intelligence in the form of microprocessor(s) and navigation means for causing an autonomous behaviour such that the robotic vacuum cleaners freely can move around and clean a space in the form of e.g. a room. Thus, these prior art robotic vacuum cleaners have the capability of more or less autonomously vacuum cleaning a room in which furniture such as tables and chairs and other obstacles such as walls and stairs are located.

However, existing robotic vacuum cleaners have not detected the type of surface they are operating on. One exception is the so called Trilobite developed by Electrolux, which uses its accelerometer or gyro to detect how bumpy the surface is, and also measures the current of the brush roll motor. The thicker the carpet it drives on, the more current the brush roll motor consumes. A problem with using the accelerometer/gyro is that it is hard to detect a difference in vibrations caused by the brush roll itself, and vibrations caused by a bumpy floor. A problem with using the brush roll current is that there are typically random variations in the current on all surfaces, so the measured current needs to be low-pass filtered, making the detection slow.

For a robotic vacuum cleaner, it is important to know which type of surface it traverses (hard floor, tiles, carpets, etc.) for two main reasons: firstly, its dust pickup capacity can be improved by adapting the fan and/or brush speeds to the particular type of surface it is traversing. Secondly, the wheels of the robotic cleaning device can be expected to slip more on a carpet than on e.g. a parquet floor, and this can be valuable to know for navigation purposes.

SUMMARY

An object of the present invention is to solve, or at least mitigate, this problem in the art and to provide an improved method at a robotic cleaning device of detecting a structure of a surface over which the robotic cleaning device moves.

This object is attained in a first aspect of the present invention by a method for a robotic cleaning device of detecting a structure of a surface over which the robotic cleaning device moves. The method comprises illuminating the surface with structured vertical light, capturing an image of the surface, detecting at least one luminous section in the captured image, and determining, from an appearance of the at least one luminous section, the structure of the surface.

This object is attained in a second aspect of the present invention by a robotic cleaning device configured to detect a structure of a surface over which the robotic cleaning device moves. The robotic cleaning device comprises a propulsion system arranged to move the robotic cleaning device over the surface, at least one light source arranged to illuminate the surface with structured vertical light, and a camera device arranged to capture images of the illuminated surface. Further, the robotic cleaning device comprises a controller arranged to control the propulsion system to move the robotic cleaning device, and wherein the controller further is arranged to control the camera device to capture an image of the surface, to detect at least one luminous section in the captured image, and to determine, from an appearance of the at least one luminous section, the structure of the surface.

Advantageously, the controller of the robotic cleaning device controls the structured vertical light source, such as at least one of a first and second vertical line laser, to illuminate a vicinity of the robotic cleaning device with laser light and further controls the camera to capture images of the illuminated surroundings. In a captured image, an emitted laser beam will appear as a luminous section which is detected by the controller. From an appearance of the detected luminous section, the controller of the robotic cleaning device can determine a structure of the surface over which it moves.

For a robotic vacuum cleaner, as previously mentioned, it is important to know which type of surface it traverses (hard floor, tiles, carpets, etc.) for two main reasons: Firstly, its dust pickup capacity can be improved by adapting the fan and/or brush speeds to the particular type of surface it is traversing. Secondly, the wheels of the robotic cleaning device can be expected to slip more on a carpet than on e.g. a parquet floor, and this can be valuable to know for navigation purposes.

In an embodiment of the present invention, if the at least one luminous section detected in the captured image(s) consists of a straight and smooth line, the surface is determined to comprise a flat floor.

In another embodiment of the present invention, if the at least one luminous section detected in the captured image(s) consists of a straight and noisy line, the surface is determined to comprise a carpet having a structured upper side.

In still another embodiment of the present invention, if the at least one luminous section consists of a straight line segmented into a plurality of vertical line segments, the surface is determined to comprise a rug.

Preferred embodiment of the present invention will be described in the following.

Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to “a/an/the element, apparatus, component, means, step, etc.” are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention is now described, by way of example, with reference to the accompanying drawings, in which:

FIG. 1 shows a bottom view of a robotic cleaning device according to embodiments of the present invention;

FIG. 2 shows a front view of the robotic cleaning device illustrated in FIG. 1;

FIG. 3a shows a robotic cleaning device implementing the method according to an embodiment of the present invention;

FIG. 3b illustrates an image captured by the robotic cleaning device of the environment in FIG. 3 a;

FIG. 3c illustrates a flow chart of an embodiment of the method according to the present invention;

FIG. 4a shows a robotic cleaning device implementing the method according to another embodiment of the present invention;

FIG. 4b illustrates an image captured by the robotic cleaning device of the environment in FIG. 4 a;

FIG. 5a shows a robotic cleaning device implementing the method according to yet another embodiment of the present invention; and

FIG. 5b illustrates an image captured by the robotic cleaning device of the environment in FIG. 5 a.

DETAILED DESCRIPTION OF THE INVENTION

The invention will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout the description.

The invention relates to robotic cleaning devices, or in other words, to automatic, self-propelled machines for cleaning a surface, e.g. a robotic vacuum cleaner, a robotic sweeper or a robotic floor washer. The robotic cleaning device according to the invention can be mains-operated and have a cord, be battery-operated or use any other kind of suitable energy source, for example solar energy.

FIG. 1 shows a robotic cleaning device 10 according to embodiments of the present invention in a bottom view, i.e. the bottom side of the robotic cleaning device is shown. The arrow indicates the forward direction of the robotic cleaning device. The robotic cleaning device 10 comprises a main body 11 housing components such as a propulsion system comprising driving means in the form of two electric wheel motors 15 a, 5 b for enabling movement of the driving wheels 12, 13 such that the cleaning device can be moved over a surface to be cleaned. Each wheel motor 15 a, 5 b is capable of controlling the respective driving wheel 12, 13 to rotate independently of each other in order to move the robotic cleaning device 10 across the surface to be cleaned. A number of different driving wheel arrangements, as well as various wheel motor arrangements, can be envisaged. It should be noted that the robotic cleaning device may have any appropriate shape, such as a device having a more traditional circular-shaped main body, or a triangular-shaped main body. As an alternative, a track propulsion system may be used or even a hovercraft propulsion system. The propulsion system may further be arranged to cause the robotic cleaning device 10 to perform any one or more of a yaw, pitch, translation or roll movement.

A controller 16 such as a microprocessor controls the wheel motors 15 a, 15 b to rotate the driving wheels 12, 13 as required in view of information received from an obstacle detecting device (not shown in FIG. 1) for detecting obstacles in the form of walls, floor lamps, table legs, around which the robotic cleaning device must navigate. The obstacle detecting device may be embodied in the form of a 3D sensor system registering its surroundings, implemented by means of e.g. a 3D camera, a camera in combination with lasers, a laser scanner, etc. for detecting obstacles and communicating information about any detected obstacle to the microprocessor 16. The microprocessor 16 communicates with the wheel motors 15 a, 15 b to control movement of the wheels 12, 13 in accordance with information provided by the obstacle detecting device such that the robotic cleaning device 10 can move as desired across the surface to be cleaned. This will be described in more detail with reference to subsequent drawings.

Further, the main body 11 may optionally be arranged with a cleaning member 17 for removing debris and dust from the surface to be cleaned in the form of a rotatable brush roll arranged in an opening 18 at the bottom of the robotic cleaner 10. Thus, the rotatable brush roll 17 is arranged along a horizontal axis in the opening 18 to enhance the dust and debris collecting properties of the cleaning device 10. In order to rotate the brush roll 17, a brush roll motor 19 is operatively coupled to the brush roll to control its rotation in line with instructions received from the controller 16.

Moreover, the main body 11 of the robotic cleaner 10 comprises a suction fan 20 creating an air flow for transporting debris to a dust bag or cyclone arrangement (not shown) housed in the main body via the opening 18 in the bottom side of the main body 11. The suction fan 20 is driven by a fan motor 21 communicatively connected to the controller 16 from which the fan motor 21 receives instructions for controlling the suction fan 20. It should be noted that a robotic cleaning device having either one of the rotatable brush roll 17 and the suction fan 20 for transporting debris to the dust bag can be envisaged. A combination of the two will however enhance the debris-removing capabilities of the robotic cleaning device 10.

The main body 11 or the robotic cleaning device 10 is further equipped with an angle-measuring device 24, such as e.g. a gyroscope 24 and/or an accelerometer or any other appropriate device for measuring orientation of the robotic cleaning device 10. A three-axis gyroscope is capable of measuring rotational velocity in a roll, pitch and yaw movement of the robotic cleaning device 10. A three-axis accelerometer is capable of measuring acceleration in all directions, which is mainly used to determine whether the robotic cleaning device is bumped or lifted or if it is stuck (i.e. not moving even though the wheels are turning). The robotic cleaning device 10 further comprises encoders (not shown in FIG. 1) on each drive wheel 12, 13 which generate pulses when the wheels turn. The encoders may for instance be magnetic or optical. By counting the pulses at the controller 16, the speed of each wheel 12, 13 can be determined. By combining wheel speed readings with gyroscope information, the controller 16 can perform so called dead reckoning to determine position and heading of the cleaning device 10.

The main body 11 may further be arranged with a rotating side brush 14 adjacent to the opening 18, the rotation of which could be controlled by the drive motors 15 a, 15 b, the brush roll motor 19, or alternatively a separate side brush motor (not shown). Advantageously, the rotating side brush 14 sweeps debris and dust such from the surface to be cleaned such that the debris ends up under the main body 11 at the opening 18 and thus can be transported to a dust chamber of the robotic cleaning device. Further advantageous is that the reach of the robotic cleaning device 10 will be improved, and e.g. corners and areas where a floor meets a wall are much more effectively cleaned. As is illustrated in FIG. 1, the rotating side brush 14 rotates in a direction such that it sweeps debris towards the opening 18 such that the suction fan 20 can transport the debris to a dust chamber. The robotic cleaning device 10 may comprise two rotating side brushes arranged laterally on each side of, and adjacent to, the opening 18.

With further reference to FIG. 1, the controller/processing unit 16 embodied in the form of one or more microprocessors is arranged to execute a computer program 25 downloaded to a suitable storage medium 26 associated with the microprocessor, such as a Random Access Memory (RAM), a Flash memory or a hard disk drive. The controller 16 is arranged to carry out a method according to embodiments of the present invention when the appropriate computer program 25 comprising computer-executable instructions is downloaded to the storage medium 26 and executed by the controller 16. The storage medium 26 may also be a computer program product comprising the computer program 25. Alternatively, the computer program 25 may be transferred to the storage medium 26 by means of a suitable computer program product, such as a digital versatile disc (DVD), compact disc (CD) or a memory stick. As a further alternative, the computer program 25 may be downloaded to the storage medium 26 over a network. The controller 16 may alternatively be embodied in the form of a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), etc.

FIG. 2 shows a front view of the robotic cleaning device 10 of FIG. 1 in an embodiment of the present invention illustrating the previously mentioned obstacle detecting device in the form of a 3D sensor system 22 comprising at least a camera 23 and a first and a second line laser 27, 28, which may be horizontally or vertically oriented line lasers. Further shown is the controller 16, the main body 11, the driving wheels 12, 13, and the rotatable brush roll 17 previously discussed with reference to FIG. 1a . The controller 16 is operatively coupled to the camera 23 for recording images of a vicinity of the robotic cleaning device 10. The first and second line lasers 27, 28 may preferably be vertical line lasers and are arranged lateral of the camera 23 and configured to illuminate a height and a width that is greater than the height and width of the robotic cleaning device 10. Further, the angle of the field of view of the camera 23 is preferably smaller than the space illuminated by the first and second line lasers 27, 28. The camera 23 is controlled by the controller 16 to capture and record a plurality of images per second. Data from the images is extracted by the controller 16 and the data is typically saved in the memory 26 along with the computer program 25.

The first and second line lasers 27, 28 are typically arranged on a respective side of the camera 23 along an axis being perpendicular to an optical axis of the camera. Further, the line lasers 27, 28 are directed such that their respective laser beams intersect within the field of view of the camera 23. Typically, the intersection coincides with the optical axis of the camera 23.

The first and second line laser 27, 28 are configured to scan, preferably in a vertical orientation, the vicinity of the robotic cleaning device 10, normally in the direction of movement of the robotic cleaning device 10. The first and second line lasers 27, 28 are configured to send out laser beams, which illuminate furniture, walls and other objects of e.g. a room to be cleaned. The camera 23 is controlled by the controller 16 to capture and record images from which the controller 16 creates a representation or layout of the surroundings that the robotic cleaning device 10 is operating in, by extracting features from the images and by measuring the distance covered by the robotic cleaning device 10, while the robotic cleaning device 10 is moving across the surface to be cleaned. Thus, the controller 16 derives positional data of the robotic cleaning device 10 with respect to the surface to be cleaned from the recorded images, generates a 3D representation of the surroundings from the derived positional data and controls the driving motors 15 a, 15 b to move the robotic cleaning device across the surface to be cleaned in accordance with the generated 3D representation and navigation information supplied to the robotic cleaning device 10 such that the surface to be cleaned can be navigated by taking into account the generated 3D representation. Since the derived positional data will serve as a foundation for the navigation of the robotic cleaning device, it is important that the positioning is correct; the robotic device will otherwise navigate according to a “map” of its surroundings that is misleading.

The 3D representation generated from the images recorded by the 3D sensor system 22 thus facilitates detection of obstacles in the form of walls, floor lamps, table legs, around which the robotic cleaning device must navigate as well as rugs, carpets, doorsteps, etc., that the robotic cleaning device 10 must traverse. The robotic cleaning device 10 is hence configured to learn about its environment or surroundings by operating/cleaning.

With reference to FIG. 2, for illustrational purposes, the 3D sensor system 22 is separated from the main body 11 of the robotic cleaning device 10. However, in a practical implementation, the 3D sensor system 22 is preferably integrated with the main body 11 of the robotic cleaning device 10 to minimize the height of the robotic cleaning device 10, thereby allowing it to pass under obstacles, such as e.g. a sofa.

Hence, the 3D sensor system 22 comprising the camera 23 and the first and second vertical line lasers 27, 28 is arranged to record images of a vicinity of the robotic cleaning from which objects/obstacles may be detected. The controller 16 is capable of positioning the robotic cleaning device 10 with respect to the detected obstacles and hence a surface to be cleaned by deriving positional data from the recorded images. From the positioning, the controller 16 controls movement of the robotic cleaning device 10 by means of controlling the wheels 12, 13 via the wheel drive motors 15 a, 15 b, across the surface to be cleaned.

The derived positional data facilitates control of the movement of the robotic cleaning device 10 such that cleaning device can be navigated to move very close to an object, and to move closely around the object to remove debris from the surface on which the object is located. Hence, the derived positional data is utilized to move flush against the object, being e.g. a thick rug or a wall. Typically, the controller 16 continuously generates and transfers control signals to the drive wheels 12, 13 via the drive motors 15 a, 15 b such that the robotic cleaning device 10 is navigated close to the object.

FIG. 3a illustrates detection of a structure of a surface over which the robotic cleaning device moves in accordance with an embodiment of the present invention. For illustrational purposes, one vertical line laser 27 of the robotic device 10 is shown. As can be seen, the line laser 27 projects a laser beam 30 onto a floor 31 and a first wall 32 of a room to be cleaned. In order to minimize detrimental effects of ambient light, the line laser 27 is optionally controlled to emit light at a highest possible power. Further, an optical filter can be arranged in front of the camera 23 to make the camera more perceptive to the light emitted by the line laser 27. Hence, the optical filter is adapted to a wavelength of the structured light emitted by the line laser 27. This is even more advantageous in presence of fixed light sources e.g. caused by sunlight entering the room via window 34 on a second wall 33, which creates two fixedly arranged light sources 35, 36 which undesirably may be detected by the camera 23.

FIG. 3b illustrates an image 37 captured by the camera 23 of the robotic device of the surroundings illustrated in FIG. 3 a, where the surface 31 over which the robot moves is a flat and smooth, such as a parquet floor or a piece of linoleum.

FIG. 3c illustrates a flowchart of the method of detecting a structure of a surface over which the robotic cleaning device moves in accordance with an embodiment of the present invention. In a first step S101, the first and second vertical line lasers 27, 28 of the 3D sensor system 22 illuminates a vicinity of the robotic cleaning device 10 with laser light 30. It should be noted that one line laser is used for illustrational purposes, but that two vertical line lasers 27, 28 typically are utilized in practice, as shown in FIG. 2. As can be seen in FIG. 3a , the surface 31 (in this case being the flat floor) and the first wall 32 of the room to be cleaned is illuminated by the beam 30. Thereafter, in step S102, the camera 23 of the 3D sensor system 22 captures an image 37 of the illuminated surroundings.

In the captured image 37 of FIG. 3 b, the laser beam will appear as a luminous section 30 which is detected in S103 by the robotic device 10. Now, in step S104, the robotic device 10 can determine a structure of the surface 31 over which it moves from an appearance of the luminous section 30 in the captured image 37.

For instance, with reference to the captured image 37 of FIG. 3 b, in case of the surface 31 being a flat and smooth floor, such as a parquet floor, the detected luminous section 30 will consist of a narrow straight line being distinct and unaffected by noise.

Advantageously, by determining the structure of the surface 31 over which the robot 10 moves, a number of aspects of the cleaning can be improved. For instance, if the robotic device 10 moves over a flat and smooth surface 31 such as a parquet floor, the suction fan 20 can be driven with a lower operating current, and the brush roll 17 and/or the side brush 14 can typically be driven to rotate with at a lower rotational speed, thereby extending time periods between robotic device battery charging. Further advantageous is that movement of the robotic device 10 may be controlled depending on the structure of the surface; for instance, if the robotic device 10 moves over a carpet, it may be driven at a lower speed to prevent slipping and/or go over the carpet, or at least parts of the carpet, more than once. In another example, the robotic device 10 may in a cleaning programme select to go over a section of the floor where a carpet is located as a last step of the programme.

FIG. 4a illustrates detection of a structure of a surface over which the robotic cleaning device moves in accordance with another embodiment of the present invention. As can be seen, the line laser 27 projects a laser beam 30 onto the surface 31 and a first wall 32 of a room to be cleaned as in FIG. 3 a. However, in this particular embodiment, a thin carpet 38 having a structured upper side is placed on the floor and illuminated by the beam 30 of the laser 27.

FIG. 4b illustrates an image 37 captured by the camera 23 of the robotic device of the surroundings illustrated in FIG. 4 a, where the surface 31 over which the robot moves is a flat and smooth, such as a parquet floor or a piece of linoleum, while the carpet 38 has a structured upper side. This has as a result that a luminous section 30 resulting from light reflected from the flat parquet floor will have the same distinct appearance as that shown in FIG. 3 b, while a luminous section 30 a resulting from light reflected from the structured carpet 38 will be subject to noise and result in a blurred line having some extension in a direction transversal to a direction of incidence of the laser light submitted by the vertical line lasers.

Thus, if the robotic device 10 determines that the appearance of the luminous section 30 a in the captured image 37 is noisy and blurred, it can be concluded that the surface is a carpet 38 having a structured upper side, which results in a different light refraction as compared to a flat and smooth floor.

In this particular embodiment, by advantageously determining that a structured carpet is to be traversed by the robotic device 10, it may be necessary to supply the suction fan 20 with a greater operating current, and to rotate the brush roll 17 and/or the side brush 14 at a higher rotational speed. Further, it may be necessary to go over the carpet more than once as compared to a flat and smooth surface.

FIG. 5a illustrates detection of a structure of a surface over which the robotic cleaning device moves in accordance with yet another embodiment of the present invention. As can be seen, the line laser 27 projects a laser beam 30 onto a surface 31 and a first wall 32 of a room to be cleaned as in FIG. 3 a. However, in this particular embodiment, a thick carpet 39, e.g. a rug, is placed on the floor and illuminated by the beam 30 of the laser 27.

FIG. 5b illustrates an image 37 captured by the camera 23 of the robotic device of the surroundings illustrated in FIG. 5 a, where the surface 31 over which the robot moves is a flat and smooth, such as a parquet floor or a piece of linoleum, while the rug 39 is ragged and typically comprises pieces of fibrous material extending vertically from the rug up to a couple of centimetres from the upper side of the rug. This has as a result that a luminous section 30 resulting from light reflected from the flat parquet floor will have the same distinct appearance as that shown in FIGS. 3b and 4 b, while a luminous section 30 b resulting from light reflected from the rug 39 will break up into small, substantially vertical line segments. The greater the height of the vertical line segments, the thicker the rug.

Thus, if the robotic device 10 determines that the appearance of the luminous section 30 b in the captured image 37 consists of vertical line segments, it can be concluded that the surface is a ragged carpet 39.

In this particular embodiment, by advantageously determining that a rug is to be traversed by the robotic device 10, it may be necessary to supply the suction fan 20 with a greater operating current, and to rotate the brush roll 17 and/or the side brush 14 at an even higher rotational speed. Further, it may be necessary to go over the carpet more than once. Moreover, when the robotic device 10 moves over a thick rug 39, it may be subject to so called slip, i.e. the wheels of the robot are turning, but the robot is not moving (or not moving to an extent as expected by the turn of the wheels). When utilizing dead reckoning, as previously has been discussed, wheel speed readings are combining with gyroscope information, and the controller 16 can determine position and heading of the robotic device 10. This is a known method where a current position is calculated by using locational data pertaining to a previously determined position. Thus, the expected slip of the wheels 12, 13 when the robotic device 10 traverses the rug 39 can advantageously be taken into account when determining the position and heading. The controller 16 can as a result advantageously predict the position of the robot 10 with greater accuracy and adapt the driving pattern in order to avoid building up excessive errors in the position estimate.

The invention has mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims. 

1. A method for a robotic cleaning device of detecting a structure of a surface over which the robotic cleaning device moves, the method comprising: illuminating the surface with structured vertical light; capturing an image of the surface; detecting at least one luminous section in the captured image; and determining, from an appearance of the at least one luminous section, a structure of the surface.
 2. The method of claim 1, wherein the at least one luminous section comprises a straight and smooth line, and determining the structure of the surface comprises determining that the surface a flat floor.
 3. The method of claim 1, wherein the at least one luminous section comprises a straight and noisy line, and determining the structure of the surface comprises determining that the surface is a carpet having a structured upper side.
 4. The method of claim 1, wherein the at least one luminous section comprises a straight line segmented into a plurality of vertical line segments, and determining the structure of the surface comprises determining that the surface is a rug.
 5. The method of claim 4, further comprising evaluating a length of the plurality of vertical line segments to determine a thickness of the rug.
 6. The method of claim 1, further comprising: controlling an operation of the robotic cleaning device based on the determined structure of the surface.
 7. The method of claim 6, wherein the controlling the operation of the robotic cleaning device comprises: controlling any one or more of a suction capacity of a robotic cleaning device suction fan, a rotational speed of a brush roll or a side brush of the robotic cleaning device, or a movement of the robotic cleaning device over the surface.
 8. A robotic cleaning device configured to detect a structure of a surface over which the robotic cleaning device moves, the robotic cleaning device comprising: a propulsion system arranged to move the robotic cleaning device over the surface; at least one light source arranged to illuminate the surface with a structured vertical light; a camera device arranged to capture images of the surface; and a controller arranged to control the propulsion system to move the robotic cleaning device; wherein the controller further is arranged to control the camera device to capture an image of the surface, to detect at least one luminous section in the captured image, and to determine, from an appearance of the at least one luminous section, a structure of the surface.
 9. The robotic cleaning device of claim 8, wherein the at least one light source comprises a first vertical line laser arranged to illuminate the surface, and a second vertical line laser arranged to illuminate the surface.
 10. The robotic cleaning device of claim 9, wherein the first vertical line laser and the second vertical line laser are each arranged on a respective side of the camera device along an axis perpendicular to an optical axis of the camera device.
 11. The robotic cleaning device of claim 8, wherein the controller is configured to determine that the surface comprises a flat floor when the at least one luminous section comprises a straight and smooth line.
 12. The robotic cleaning device of claim 8, wherein the controller is configured to determine that the surface comprises a carpet having a structured upper side when the at least one luminous section comprises a straight and noisy line.
 13. The robotic cleaning device of claim 8, wherein the controller is configured to determine that the surface comprises a rug when the at least one luminous section comprises a straight line segmented into a plurality of vertical line segments.
 14. The robotic cleaning device of claim 8, wherein the controller is further arranged to: control operation of the robotic cleaning device based on the determined structure of the surface.
 15. The robotic cleaning device of claim 14, wherein the controller is arranged to, when controlling the operation of the robotic cleaning device, control any one of more of: a suction capacity of a robotic cleaning device suction fan, a rotational speed of a brush roll or a side brush of the robotic cleaning device, or a movement of the robotic cleaning device over the surface.
 16. A computer program comprising computer-executable instructions stored in a non-transitory medium for causing a robotic cleaning device to: illuminate a surface with structured vertical light; capture an image of the surface; detect at least one luminous section in the captured image; and determine, from an appearance of the at least one luminous section, a structure of the surface.
 17. (canceled)
 18. The computer program of claim 16, wherein the computer-executable functions are executed by a controller in the robotic cleaning device. 